laravel order by raw

52

laravel order by raw -

$orders = DB::table('orders')
                ->orderByRaw('updated_at - created_at DESC')
                ->get();

Comments

Submit
0 Comments